import { ADD, MINUS } from "./constants.js";

export function addAction(num) {
  return {
    type: ADD,
    payload: num,
  };
}

export function minusAction(num) {
  return {
    type: MINUS,
    payload: num,
  };
}
